package dao;

import pojo.Student;

import java.util.List;

public interface StudentDao {

    //子查询(一对多)
    public List<Student> listStudentByCid(int cid);

    public Student queryStudentBySid(String stuId);

    //子查询（多对多查询2）
    public List<Student> queryStudentsByCourseId(int courseId);
}
